package com.ruoyi.shop.good.goods.service;

import com.ruoyi.mall.common.domain.DtsGoodsProduct;

import java.util.List;

public interface DtsGoodsProductService {
    // 查询商品规格
    public List<DtsGoodsProduct> selectGoodsProductCountByGoodsId(int goodsId);

    // 新增商品规格
    public int insertGoodsProduct(List<DtsGoodsProduct> dtsGoodsProduct);

    // 查询商品库存
    public int selectGoodsProductStock(int goodsId);

    //查询详情
    public DtsGoodsProduct seelctXiangqing(Long id);
}
